package top.kaoshanji.r1ch05c;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 代码清单-r1ch05c-174页a：将解析器注册到Spring命名空间解析器
 * @author kaoshanji
 * ^_^
 * create time 2025/5/6 17:06
 */
public class UserServiceNamespaceHandler extends NamespaceHandlerSupport {

    @Override
    public void init() {
        registerBeanDefinitionParser("user-service", new UserServiceDefinitionParser());

    }
}
